package com.quanquan.user.repository;

import com.quanquan.user.entity.PosOrder;
import com.quanquan.user.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface PosOrderRepository extends JpaRepository<PosOrder, String>, JpaSpecificationExecutor<PosOrder> {


    /**
     * 根据订单号查询订单记录
     * @param ticketNum
     * @return
     */
    PosOrder findByTicketNum(String ticketNum);
}
